Smush\Core\Api\Backoff S

Total Complexity 21
Dependencies 0
Dependents 1
Total lines 149
Lines of code 84
Logical lines of code 42
Comment lines 27
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
run()
S
58 3 17
jitter()
S
61 2 12
wait()
S
71 2 6
get_wait_time()
S
69 2 6
__construct()
S
81 1 3
get_max_attempts()
S
82 1 3
set_max_attempts()
S
75 1 4
get_initial_wait()
S
82 1 3
set_wait()
S
77 1 4
get_decider()
S
82 1 3
set_decider()
S
77 1 4
get_default_decider()
S
75 1 5
set_jitter()
S
81 1 3
enable_jitter()
S
77 1 4
disable_jitter()
S
77 1 4
jitter_enabled()
S
82 1 3